#!/usr/bin/env node

const cp = require('child_process');
console.log('I am father process.pid',process.pid);


cp.fork('./03-child.js');


//cat.stdout.pipe(process.stdout);
//cat.stderr.pipe(process.stderr);

setTimeout(()=>{
  console.log('5 seconds passed, father over');
  //process.exit();
},5000);


